Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Add server param to /publicRooms #1082

Merged
merged 2 commits into from
Sep 8, 2016
Merged

Conversation

erikjohnston
Copy link
Member

@erikjohnston erikjohnston commented Sep 8, 2016

@@ -295,15 +295,26 @@ class PublicRoomListRestServlet(ClientV1RestServlet):

@defer.inlineCallbacks
def on_GET(self, request):
server = request.args.get("server", [None])[0]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe use parse_string from synapse.http.servlet?

@NegativeMjark
Copy link
Contributor

Otherwise LGTM

@erikjohnston erikjohnston merged commit 257025a into develop Sep 8, 2016
@richvdh richvdh deleted the erikj/remote_public_rooms branch December 1, 2016 14:09
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants